package com.urguxxi.springdemo.entity;


import javax.validation.constraints.NotBlank;
import java.sql.Timestamp;

public class Admin {

  private Integer id;
  @NotBlank(message = "用户名不能为空！")
  private String adminName;
  @NotBlank(message = "用户密码不能为空！")
  private String adminPwd;
  private Long adminPhone;
  private Integer adminStatus;
  private Timestamp lastLoginTime;
  private Timestamp createTime;
  private Timestamp updateTime;
  private Integer is_deleted;

  public Admin(){};

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getAdminName() {
    return adminName;
  }

  public void setAdminName(String adminName) {
    this.adminName = adminName;
  }

  public String getAdminPwd() {
    return adminPwd;
  }

  public void setAdminPwd(String adminPwd) {
    this.adminPwd = adminPwd;
  }

  public Long getAdminPhone() {
    return adminPhone;
  }

  public void setAdminPhone(Long adminPhone) {
    this.adminPhone = adminPhone;
  }

  public Integer getAdminStatus() {
    return adminStatus;
  }

  public void setAdminStatus(Integer adminStatus) {
    this.adminStatus = adminStatus;
  }

  public Timestamp getLastLoginTime() {
    return lastLoginTime;
  }

  public void setLastLoginTime(Timestamp lastLoginTime) {
    this.lastLoginTime = lastLoginTime;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }

  public Integer getIs_deleted() {
    return is_deleted;
  }

  public void setIs_deleted(Integer is_deleted) {
    this.is_deleted = is_deleted;
  }
}
